package com.iv.durian.cloud.enums;

public enum  BannerType {
    /**
     * 首页
     */
    HOME,
    /**
     * 课程
     */
    LESSION;

    public static BannerType valueOf(int ordinal){
        if (ordinal < BannerType.values().length ) {
            BannerType bannerType = BannerType.values()[ordinal];
            return bannerType;
        }
        return null;
    }
}
